<?php
//test
class Cahier extends Produit{
    private $dimension;
    private $lignage;
    
    public function __construct($reference, $prix, $nom, $stock, $dimension, $lignage){
        parent::__construct($reference, $prix, $nom, $stock);
        $this->dimension = $dimension;
        $this->lignage = $lignage;
    }
    public function getDimension(){
        return $this->dimension;
    }
    public function getLignage(){
        return $this->lignage;
    }
    public function test(){
        
    }
}
//test
?>
